<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>ajax入门1</title>
  <link rel="stylesheet" href="../css/common.css">
</head>

<body>
  <!-- http查询字符串演示（原始表单提交） -->
  <form action="querystring.html" method="get">
    <input type="text" name="username">
    <input type="text" name="age">
    <input type="submit">
  </form>
  <hr>
  <input type="text" id="txtEcho" placeholder="echo">
  <button id="btnSend">发送</button>
  <pre id="preResult"></pre>
  <div id="divResult"></div>

  <script src="https://cdn.bootcdn.net/ajax/libs/qs/6.10.1/qs.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
  <script src="js/ajax01.js"></script>
</body>

</html>